import request from "@/utils/request";
export function add(data) {
  return request({
    url: "rest/api/manager/rservice",
    method: "post",
    data
  });
}

/**
 * 分页查询角色信息
 * @param params
 * @returns {AxiosPromise}
 */
export function queryAllRoleByService(params) {
  return request({
    url: "rest/api/manager/rservice",
    method: "get",
    params
  });
}

export function del(ids) {
  return request({
    url: "rest/api/manager/rservice/del",
    method: "post",
    data: ids
  });
}
